package com.njcb.ams.util.tuple;

/**
 * 四元组，持有四对象
 * @author LOONG
 *
 * @param <A>
 * @param <B>
 * @param <C>
 * @param <D>
 */
public class FourTuple<A, B, C, D> extends ThreeTuple<A, B, C> {
	public final D fourth;

	public FourTuple(A a, B b, C c, D d) {
		super(a, b, c);
		fourth = d;
	}

	@Override
	public String toString() {
		return "(" + first + "," + second + "," + third + "," + fourth + ")";
	}
}
